package com.gljx.web.service;

import com.gljx.web.Entity.Specificationtable;
import com.gljx.web.Entity.Typetable;

import java.util.List;

/**
 * @Author: WuLianFa
 * @CreationTime: 2018/5/24 0024 08:57
 */
public interface DropDownMenuOptionsService {
    /**
     * 查询全部规格信息
     * Created by WuLianFa on 2018/5/24 0024 08:50
     */
    List<Specificationtable> queryAllSpecificationMassage();

    /**
     * 通过ID删除规格信息
     * Created by WuLianFa on 2018/5/24 0024 09:08
     */
    int deleteSpecificationMassageById(String ggId);

    /**
     * 通过实体类增加规格信息
     * Created by WuLianFa on 2018/5/24 0024 09:09
     */
    int addSpecificationMassage(Specificationtable record);

    /**
     * 通过实体类修改规格信息
     * Created by WuLianFa on 2018/5/24 0024 09:09
     */
    int updateSpecificationMassage(Specificationtable record);


    /**
     * 查询全部类型信息
     * Created by WuLianFa on 2018/5/24 0024 08:52
     */
    List<Typetable> queryAllTypeMassage();

    /**
     * 通过ID删除类型信息
     * Created by WuLianFa on 2018/5/24 0024 09:07
     */
    int deleteTypeMassageById(String lxId);

    /**
     * 通过实体类增加类型信息
     * Created by WuLianFa on 2018/5/24 0024 09:08
     */
    int addTypeMassage(Typetable record);

    /**
     * 通过实体类修改类型信息
     * Created by WuLianFa on 2018/5/24 0024 09:08
     */
    int updateTypeMassage(Typetable record);
}
